package com.sixks.app.mvc.cmd.exception;

/**
 * @author colin
 * @date: 02/03/2014
 * @time: 11:16
 */
public class ExpressAPIException extends Exception {
    private String code;
    private String message;
    public ExpressAPIException(String s) {
        super(s);
        this.message = s;
    }
    public ExpressAPIException(String code,String msg){
        this.message = msg;
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
